/**
* @file LocalPositionSimulator.h in SimulateLPS
* @author rebeater
* @comment
* Create on 3/22/22 10:58 PM
* @version 1.0
**/

#ifndef SIMULATELPS__LOCALPOSITIONSIMULATOR_H_
#define SIMULATELPS__LOCALPOSITIONSIMULATOR_H_
#include <string>
#include "FileIO.h"
class Point {
  double lat;
  double lon;
  double height;
};
#include "Simulator.h"
class LocalPositionSimulator : public Simulator {
 public:
  explicit LocalPositionSimulator(bool repeat=true);
  void LoadFile(const std::string &file);
  bool IsRunning() const;
  bool LpsOutput() ;
 private:
  bool repeat;
  int index = 0;
  bool running{false};
  std::vector<GnssData> data;
};

#endif //SIMULATELPS__LOCALPOSITIONSIMULATOR_H_
